﻿using System;
using System.Windows.Forms;
using EasyWindowsServiceManager.Localization;

namespace EasyWindowsServiceManager.Dialogs
{
    public partial class DialogBase : Form
    {
        public DialogBase()
        {
            InitializeComponent();
        }

        #region Propiedades

        public Object returnValue { get;set;}
        #endregion


        private void DialogBase_Load(object sender, EventArgs e)
        {
            this.localizeControls();
        }

        #region Custom Methods
        protected virtual void localizeControls()
        {
            this.btnOK.Text = Localization.StringResources.OkString;
            this.btnCancel.Text = Localization.StringResources.CancelString;
        }
        #endregion
    }
}
